package org.dromara.iot.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.iot.domain.IotUpkeepPlan;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 电梯保养计划视图对象 iot_upkeep_plan
 *
 * @author lsl
 * @date 2024-06-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IotUpkeepPlan.class)
public class IotUpkeepPlanVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 计划ID
     */
    @ExcelProperty(value = "计划ID")
    private Long planId;

    /**
     * 关联电梯ID
     */
    @ExcelProperty(value = "关联电梯ID")
    private Long elevatorId;

    /**
     * 关联模板ID
     */
    @ExcelProperty(value = "关联模板ID")
    private Long templateId;

    /**
     * 保养类型
     */
    @ExcelProperty(value = "保养类型")
    private String upkeepType;

    /**
     * 保养间隔
     */
    @ExcelProperty(value = "保养间隔")
    private Long upkeepInterval;

    /**
     * 首次保养时间
     */
    @ExcelProperty(value = "首次保养时间")
    private Date firstUpkeepTime;

    /**
     * 最近一次保养时间
     */
    @ExcelProperty(value = "最近一次保养时间")
    private Date recentlyTime;

    /**
     * 保养提醒天数
     */
    @ExcelProperty(value = "保养提醒天数")
    private Long remindDay;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 电梯名称
     */
    @ExcelProperty(value = "电梯名称")
    private String elevatorName;

    /**
     * 模板名称
     */
    @ExcelProperty(value = "模板名称")
    private String templateName;
}
